﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Utility
{
    //自定义函数
    public class CookingFunction
    {
        /// <summary>
        /// 函数名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 参数列表
        /// </summary>
        public List<Variable> Arguments { get; set; }
        /// <summary>
        /// 函数体
        /// </summary>
        public List<CookingCommand> CookingCommands { get; set; }

        public CookingFunction(string name)
        {
            Name = name;
            Arguments = new List<Variable>();
            CookingCommands = new List<CookingCommand>();
        }
    }
}
